Overview | Package | Class | Tree | Deprecated | Index | Help Java Platform
1.1.7
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class com.sun.java.swing.text.StyleConstants.ColorConstants

java.lang.Object
  |
  +--com.sun.java.swing.text.StyleConstants.ColorConstants

public static class StyleConstants.ColorConstants
extends java.lang.Object
implements AttributeSet.ColorAttribute, AttributeSet.CharacterAttribute
This is a typesafe enumeration of the well-known attributes that contribute to a color. These are aliased by the outer class for general presentation.


Field Summary
static java.lang.Object Background
          Name of the background color attribute.
static java.lang.Object Foreground
          Name of the foreground color attribute.
 
Method Summary
java.lang.String toString()
          Returns the string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

Foreground

public static final java.lang.Object Foreground
Name of the foreground color attribute.

Background

public static final java.lang.Object Background
Name of the background color attribute.
Method Detail

toString

public java.lang.String toString()
Returns the string representation.
Returns:
the string
Overrides:
toString in class java.lang.Object

Overview | Package | Class | Tree | Deprecated | Index | Help Java Platform
1.1.7
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Submit a bug or feature
Submit comments/suggestions about javadoc
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.